
from alg import Solution
from gen import get_example_cases

if __name__ == "__main__":
    solution = Solution()
    example_cases = get_example_cases()

    for i, nums in enumerate(example_cases, start=1):
        print(f"示例 {i}：")
        print(f"输入：nums = {nums}")
        result = solution.permute(nums)
        print(f"输出：{result}")
        print()